﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BasicInformation.Domain
{
    public class InboundModel:BaseEntity
    {
        /// <summary>
        /// 入库编号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int InboundId {  get; set; }
        /// <summary>
        /// 入库单号
        /// </summary>
        public string? InboundCode {  get; set; }
        /// <summary>
        /// 入库类型
        /// </summary>
        public string? InboundTypeName {  get; set; }
        /// <summary>
        /// 仓库id（主键标识）
        /// </summary>
        public int? DepotId {  get; set; }
        /// <summary>
        /// 入库日期
        /// </summary>
        public DateTime? InboundTime {  get; set; }
        /// <summary>
        /// 盘点编号
        /// </summary>
        public string? InventoryCode {  get; set; }
        /// <summary>
        /// 经办人
        /// </summary>
        public string? InboundHandler {  get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? InboundRemark {  get; set; }
        /// <summary>
        /// 产品Id（主键唯一标识）
        /// </summary>
        public int? ProductId {  get; set; }
        /// <summary>
        /// 单位Id（主键唯一标识）
        /// </summary>
        public int? UnitId {  get; set; }
        /// <summary>
        /// 当前库存
        /// </summary>
        public string? Storage {  get; set; }
        /// <summary>
        /// 库位Id（主键唯一标识）
        /// </summary>
        public int? LocationId {  get; set; }
        /// <summary>
        /// 盈亏数量
        /// </summary>
        public int? InboundProfitLossNumber {  get; set; }
        /// <summary>
        /// 已入库数量
        /// </summary>
        public int? InStockNumber {  get; set; }
        /// <summary>
        /// 未入库数量
        /// </summary>
        public int? NotInStockNumber {  get; set; }
        /// <summary>
        /// 本次入库数量
        /// </summary>
        public int? InboundNumber {  get; set; }
    }
}
